package com.dongdongshop.service;

import com.dongdongshop.domain.PageResult;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;

import java.util.List;

public interface SpecificationService {
    PageResult<TbSpecification> getInfo(Integer pageNum, Integer pageSize, TbSpecification specification);

    void toAdd(TbSpecification specification, List<TbSpecificationOption> options);

    List<TbSpecification> update(Long id);

    void updateInfo(TbSpecification specification, List<TbSpecificationOption> options);

    void deleteInfo(Long[] ids);

    List<TbSpecification> getInfo1();
}
